package b3.widget.vip
{
	import b3.widget.basic.*;
	import b3.net.*;
	import b3.util.*;
	
	import flash.events.*;
	import flash.external.*;

	public class VipButtonOpenYear extends BasicButton
	{
		public function VipButtonOpenYear()
		{
			var BackgroundImage:Class = ResourceHelper.getInstance().getClassByName("VipButtonOpenYear");
			super(BackgroundImage);
			this.mouseChildren = false;
			this.addEventListener(MouseEvent.CLICK, onClick);
		}
		
		private function onClick(event:MouseEvent):void
		{
			ExternalInterface.call("window.open", Profile.URL_VIPYear);
		}
		
	}
}